<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>AutoML</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" type="text/css" media="screen" href="main.css" />
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script src="index.js"></script>
</head>

<body>
    <div class="container" id='test'>
        uploading...
        <!-- <div class="row">
            <div class="col-md-12">
                <div class="panel-group" id="accordion">

                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <h4 class="panel-title"><a data-toggle="collapse" data-parent="#accordion"
                                    href="#collapseOne">NAS Summary</a></h4>
                        </div>
                        <div id="collapseOne" class="panel-collapse collapse in">
                            <div class="panel-body">
                                <table class="table table-hover table-bordered">
                                    <thead>
                                        <tr>
                                            <td>Paper</td>
                                            <td>Published</td>
                                            <td>Year</td>
                                        </tr>
                                    </thead>
                                    <tbody>%s</tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                    
                </div>
            </div>
        </div> -->
    </div>

    <script>
        function setHeight() {
            var h = document.body.clientHeight;
            window.parent.test(h)
        }
        setHeight();
        window.onresize = function () {
            setHeight()
        }
        document.getElementById("test").onclick = function () {
            this.style.height = "500px";
            setHeight()
        }
    </script>
    <div style="clear:both;"></div>
</body>

</html>